home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / HYP / H-I / HyperTalkHelp.cpt / HyperTalk Tutorial Sampler 1.1 / card_6823.txt < prev    next >
Text File  |  1989-02-26  |  12KB  |  540 lines

  1. -- card: 6823 from stack: in.1
  2. -- bmap block id: 2215
  3. -- flags: 0000
  4. -- background id: 6586
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on openCard
  8.   hide menuBar
  9. end openCard
  10.  
  11. on closeCard
  12.   show menuBar
  13. end closeCard
  14.  
  15.  
  16.  
  17. -- part 1 (button)
  18. -- low flags: 00
  19. -- high flags: 0000
  20. -- rect: left=144 top=182 right=315 bottom=471
  21. -- title width / last selected line: 0
  22. -- icon id / first selected line: 0 / 0
  23. -- text alignment: 1
  24. -- font id: 0
  25. -- text size: 12
  26. -- style flags: 0
  27. -- line height: 16
  28. -- part name: 
  29. ----- HyperTalk script -----
  30. on mouseDown
  31.   play "bell" a
  32.   show card field "Script"
  33.   wait until the mouse is up
  34.   hide card field "Script"
  35. end mouseDown
  36.  
  37.  
  38.  
  39. -- part 2 (button)
  40. -- low flags: 00
  41. -- high flags: 0000
  42. -- rect: left=47 top=64 right=168 bottom=474
  43. -- title width / last selected line: 0
  44. -- icon id / first selected line: 0 / 0
  45. -- text alignment: 1
  46. -- font id: 0
  47. -- text size: 12
  48. -- style flags: 0
  49. -- line height: 16
  50. -- part name: 
  51. ----- HyperTalk script -----
  52. on mouseDown
  53.   play "bell" f
  54.   show card field "Instructions"
  55.   wait until the mouse is up
  56.   hide card field "Instructions"
  57. end mouseDown
  58.  
  59.  
  60.  
  61.  
  62. -- part 3 (button)
  63. -- low flags: 00
  64. -- high flags: 0000
  65. -- rect: left=41 top=28 right=57 bottom=76
  66. -- title width / last selected line: 0
  67. -- icon id / first selected line: 0 / 0
  68. -- text alignment: 1
  69. -- font id: 0
  70. -- text size: 12
  71. -- style flags: 0
  72. -- line height: 16
  73. -- part name: 
  74. ----- HyperTalk script -----
  75. on mouseDown
  76.   play "bell" c
  77.   show card field "Help Command"
  78.   wait until the mouse is up
  79.   hide card field "Help Command"
  80. end mouseDown
  81.  
  82.  
  83.  
  84.  
  85. -- part 4 (button)
  86. -- low flags: 00
  87. -- high flags: 0000
  88. -- rect: left=424 top=28 right=47 bottom=498
  89. -- title width / last selected line: 0
  90. -- icon id / first selected line: 0 / 0
  91. -- text alignment: 1
  92. -- font id: 0
  93. -- text size: 12
  94. -- style flags: 0
  95. -- line height: 16
  96. -- part name: 
  97. ----- HyperTalk script -----
  98. on mouseDown
  99.   play "bell" e
  100.   show card field "Reset Card"
  101.   wait until the mouse is up
  102.   hide card field "Reset Card"
  103. end mouseDown
  104.  
  105.  
  106.  
  107. -- part 5 (button)
  108. -- low flags: 00
  109. -- high flags: 0000
  110. -- rect: left=36 top=172 right=208 bottom=143
  111. -- title width / last selected line: 0
  112. -- icon id / first selected line: 0 / 0
  113. -- text alignment: 1
  114. -- font id: 0
  115. -- text size: 12
  116. -- style flags: 0
  117. -- line height: 16
  118. -- part name: 
  119. ----- HyperTalk script -----
  120. on mouseDown
  121.   play "bell" a1
  122.   show card field "Test Button"
  123.   wait until the mouse is up
  124.   hide card field "Test Button"
  125. end mouseDown
  126.  
  127.  
  128.  
  129.  
  130. -- part 6 (button)
  131. -- low flags: 00
  132. -- high flags: 0000
  133. -- rect: left=50 top=212 right=258 bottom=131
  134. -- title width / last selected line: 0
  135. -- icon id / first selected line: 0 / 0
  136. -- text alignment: 1
  137. -- font id: 0
  138. -- text size: 12
  139. -- style flags: 0
  140. -- line height: 16
  141. -- part name: 
  142. ----- HyperTalk script -----
  143. on mouseDown
  144.   play "bell" b
  145.   show card field "Send"
  146.   wait until the mouse is up
  147.   hide card field "Send"
  148. end mouseDown
  149.  
  150.  
  151.  
  152.  
  153. -- part 7 (button)
  154. -- low flags: 00
  155. -- high flags: 0000
  156. -- rect: left=43 top=266 right=324 bottom=138
  157. -- title width / last selected line: 0
  158. -- icon id / first selected line: 0 / 0
  159. -- text alignment: 1
  160. -- font id: 0
  161. -- text size: 12
  162. -- style flags: 0
  163. -- line height: 16
  164. -- part name: 
  165. ----- HyperTalk script -----
  166. on mouseDown
  167.   play "bell" c5
  168.   show card field "Result"
  169.   wait until the mouse is up
  170.   hide card field "Result"
  171. end mouseDown
  172.  
  173.  
  174.  
  175. -- part 8 (button)
  176. -- low flags: 00
  177. -- high flags: 0000
  178. -- rect: left=15 top=306 right=331 bottom=39
  179. -- title width / last selected line: 0
  180. -- icon id / first selected line: 0 / 0
  181. -- text alignment: 1
  182. -- font id: 0
  183. -- text size: 12
  184. -- style flags: 0
  185. -- line height: 16
  186. -- part name: 
  187. ----- HyperTalk script -----
  188. on mouseDown
  189.   play "bell" c5
  190.   show card field "Prev"
  191.   wait until the mouse is up
  192.   hide card field "Prev"
  193. end mouseDown
  194.  
  195.  
  196.  
  197. -- part 9 (button)
  198. -- low flags: 00
  199. -- high flags: 0000
  200. -- rect: left=475 top=306 right=333 bottom=498
  201. -- title width / last selected line: 0
  202. -- icon id / first selected line: 0 / 0
  203. -- text alignment: 1
  204. -- font id: 0
  205. -- text size: 12
  206. -- style flags: 0
  207. -- line height: 16
  208. -- part name: 
  209. ----- HyperTalk script -----
  210. on mouseDown
  211.   play "bell" c5
  212.   show card field "Next"
  213.   wait until the mouse is up
  214.   hide card field "Next"
  215. end mouseDown
  216.  
  217.  
  218.  
  219.  
  220. -- part 10 (button)
  221. -- low flags: 00
  222. -- high flags: 0000
  223. -- rect: left=475 top=268 right=295 bottom=498
  224. -- title width / last selected line: 0
  225. -- icon id / first selected line: 0 / 0
  226. -- text alignment: 1
  227. -- font id: 0
  228. -- text size: 12
  229. -- style flags: 0
  230. -- line height: 16
  231. -- part name: 
  232. ----- HyperTalk script -----
  233. on mouseDown
  234.   play "bell" c5
  235.   show card field "Return"
  236.   wait until the mouse is up
  237.   hide card field "Return"
  238. end mouseDown
  239.  
  240.  
  241.  
  242. -- part 11 (button)
  243. -- low flags: 00
  244. -- high flags: 0000
  245. -- rect: left=476 top=239 right=263 bottom=499
  246. -- title width / last selected line: 0
  247. -- icon id / first selected line: 0 / 0
  248. -- text alignment: 1
  249. -- font id: 0
  250. -- text size: 12
  251. -- style flags: 0
  252. -- line height: 16
  253. -- part name: 
  254. ----- HyperTalk script -----
  255. on mouseDown
  256.   play "bell" c5
  257.   show card field "Home"
  258.   wait until the mouse is up
  259.   hide card field "Home"
  260. end mouseDown
  261.  
  262.  
  263.  
  264. -- part 12 (field)
  265. -- low flags: 80
  266. -- high flags: 0002
  267. -- rect: left=85 top=34 right=90 bottom=202
  268. -- title width / last selected line: 0
  269. -- icon id / first selected line: 0 / 0
  270. -- text alignment: 0
  271. -- font id: 3
  272. -- text size: 10
  273. -- style flags: 0
  274. -- line height: 13
  275. -- part name: Help Command
  276.  
  277.  
  278. -- part 13 (field)
  279. -- low flags: 80
  280. -- high flags: 0002
  281. -- rect: left=110 top=77 right=145 bottom=343
  282. -- title width / last selected line: 0
  283. -- icon id / first selected line: 0 / 0
  284. -- text alignment: 0
  285. -- font id: 3
  286. -- text size: 12
  287. -- style flags: 0
  288. -- line height: 16
  289. -- part name: Instructions
  290.  
  291.  
  292. -- part 14 (field)
  293. -- low flags: 80
  294. -- high flags: 0002
  295. -- rect: left=311 top=47 right=114 bottom=473
  296. -- title width / last selected line: 0
  297. -- icon id / first selected line: 0 / 0
  298. -- text alignment: 0
  299. -- font id: 3
  300. -- text size: 12
  301. -- style flags: 0
  302. -- line height: 16
  303. -- part name: Reset Card
  304.  
  305.  
  306. -- part 15 (field)
  307. -- low flags: 80
  308. -- high flags: 0002
  309. -- rect: left=149 top=147 right=217 bottom=339
  310. -- title width / last selected line: 0
  311. -- icon id / first selected line: 0 / 0
  312. -- text alignment: 0
  313. -- font id: 3
  314. -- text size: 12
  315. -- style flags: 0
  316. -- line height: 16
  317. -- part name: Test Button
  318.  
  319.  
  320. -- part 16 (field)
  321. -- low flags: 80
  322. -- high flags: 0002
  323. -- rect: left=138 top=209 right=294 bottom=335
  324. -- title width / last selected line: 0
  325. -- icon id / first selected line: 0 / 0
  326. -- text alignment: 0
  327. -- font id: 3
  328. -- text size: 12
  329. -- style flags: 0
  330. -- line height: 16
  331. -- part name: Send
  332.  
  333.  
  334. -- part 17 (field)
  335. -- low flags: 80
  336. -- high flags: 0002
  337. -- rect: left=131 top=257 right=311 bottom=293
  338. -- title width / last selected line: 0
  339. -- icon id / first selected line: 0 / 0
  340. -- text alignment: 0
  341. -- font id: 3
  342. -- text size: 12
  343. -- style flags: 0
  344. -- line height: 16
  345. -- part name: Result
  346.  
  347.  
  348. -- part 18 (field)
  349. -- low flags: 80
  350. -- high flags: 0002
  351. -- rect: left=185 top=208 right=308 bottom=373
  352. -- title width / last selected line: 0
  353. -- icon id / first selected line: 0 / 0
  354. -- text alignment: 0
  355. -- font id: 3
  356. -- text size: 12
  357. -- style flags: 0
  358. -- line height: 16
  359. -- part name: Script
  360.  
  361.  
  362. -- part 19 (field)
  363. -- low flags: 80
  364. -- high flags: 0002
  365. -- rect: left=43 top=274 right=312 bottom=153
  366. -- title width / last selected line: 0
  367. -- icon id / first selected line: 0 / 0
  368. -- text alignment: 0
  369. -- font id: 3
  370. -- text size: 12
  371. -- style flags: 0
  372. -- line height: 16
  373. -- part name: Prev
  374.  
  375.  
  376. -- part 20 (field)
  377. -- low flags: 80
  378. -- high flags: 0002
  379. -- rect: left=377 top=297 right=335 bottom=472
  380. -- title width / last selected line: 0
  381. -- icon id / first selected line: 0 / 0
  382. -- text alignment: 0
  383. -- font id: 3
  384. -- text size: 12
  385. -- style flags: 0
  386. -- line height: 16
  387. -- part name: Next
  388.  
  389.  
  390. -- part 21 (field)
  391. -- low flags: 80
  392. -- high flags: 0002
  393. -- rect: left=374 top=263 right=301 bottom=470
  394. -- title width / last selected line: 0
  395. -- icon id / first selected line: 0 / 0
  396. -- text alignment: 0
  397. -- font id: 3
  398. -- text size: 12
  399. -- style flags: 0
  400. -- line height: 16
  401. -- part name: Return
  402.  
  403.  
  404. -- part 22 (field)
  405. -- low flags: 80
  406. -- high flags: 0002
  407. -- rect: left=363 top=243 right=264 bottom=473
  408. -- title width / last selected line: 0
  409. -- icon id / first selected line: 0 / 0
  410. -- text alignment: 0
  411. -- font id: 3
  412. -- text size: 12
  413. -- style flags: 0
  414. -- line height: 16
  415. -- part name: Home
  416.  
  417.  
  418. -- part 24 (button)
  419. -- low flags: 00
  420. -- high flags: 0000
  421. -- rect: left=475 top=207 right=231 bottom=498
  422. -- title width / last selected line: 0
  423. -- icon id / first selected line: 0 / 0
  424. -- text alignment: 1
  425. -- font id: 0
  426. -- text size: 12
  427. -- style flags: 0
  428. -- line height: 16
  429. -- part name: Card Help
  430. ----- HyperTalk script -----
  431. on mouseDown
  432.   play "bell" c5
  433.   show card field "Card Help"
  434.   wait until the mouse is up
  435.   hide card field "Card Help"
  436. end mouseDown
  437.  
  438.  
  439.  
  440. -- part 25 (field)
  441. -- low flags: 80
  442. -- high flags: 0002
  443. -- rect: left=362 top=208 right=228 bottom=469
  444. -- title width / last selected line: 0
  445. -- icon id / first selected line: 0 / 0
  446. -- text alignment: 0
  447. -- font id: 3
  448. -- text size: 12
  449. -- style flags: 0
  450. -- line height: 16
  451. -- part name: Card Help
  452.  
  453.  
  454. -- part 26 (button)
  455. -- low flags: 00
  456. -- high flags: 0000
  457. -- rect: left=188 top=32 right=53 bottom=340
  458. -- title width / last selected line: 0
  459. -- icon id / first selected line: 0 / 0
  460. -- text alignment: 1
  461. -- font id: 0
  462. -- text size: 12
  463. -- style flags: 0
  464. -- line height: 16
  465. -- part name: 
  466. ----- HyperTalk script -----
  467. on mouseDown
  468.   play "bell" d
  469.   show card field "Command Name"
  470.   wait until the mouse is up
  471.   hide card field "Command Name"
  472. end mouseDown
  473.  
  474.  
  475.  
  476. -- part 27 (field)
  477. -- low flags: 80
  478. -- high flags: 0002
  479. -- rect: left=2 top=39 right=76 bottom=188
  480. -- title width / last selected line: 0
  481. -- icon id / first selected line: 0 / 0
  482. -- text alignment: 0
  483. -- font id: 3
  484. -- text size: 12
  485. -- style flags: 0
  486. -- line height: 16
  487. -- part name: Command Name
  488.  
  489.  
  490. -- part contents for card part 12
  491. ----- text -----
  492. This button takes you to the card in the Help stack which deals with this command.
  493.  
  494. -- part contents for card part 13
  495. ----- text -----
  496. This is where the lesson material is presented.  Use the scroll bar at right to start at the beginning each time you go to a new lesson card. 
  497.  
  498. -- part contents for card part 14
  499. ----- text -----
  500. This button puts the original tutorial script back into the Script Window and Test Button.
  501.  
  502. -- part contents for card part 15
  503. ----- text -----
  504. This button tests the script in the Script Window.  Be sure to click Send To Button after you make changes.
  505.  
  506. -- part contents for card part 16
  507. ----- text -----
  508. This button takes the script in the Script Window and copies it into the Test Button.  Be sure to use it after each change you make to the script.
  509.  
  510. -- part contents for card part 17
  511. ----- text -----
  512. This is where the results of some tutorial scripts are displayed.
  513.  
  514. -- part contents for card part 18
  515. ----- text -----
  516. This is where you edit the tutorial script.  Be sure to click Send To Button after making changes here.  (Click Reset Card to restore the original tutorial script.)
  517.  
  518. -- part contents for card part 19
  519. ----- text -----
  520. Takes you to the previous card.
  521.  
  522. -- part contents for card part 20
  523. ----- text -----
  524. Takes you to the next card.
  525.  
  526. -- part contents for card part 21
  527. ----- text -----
  528. Takes you to the title card.
  529.  
  530. -- part contents for card part 22
  531. ----- text -----
  532. Takes you Home.
  533.  
  534. -- part contents for card part 25
  535. ----- text -----
  536. Brings you here
  537.  
  538. -- part contents for card part 27
  539. ----- text -----
  540. This is the command or subject the lesson is about.